﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2014/3/19 21:49:35
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;
using Sector7.Framework.Enums;

namespace Sector7.Medical.EntityType
{
    /// <summary>
    /// <!-- The description about this class. -->
    /// </summary>
    [Serializable()]
    [DataContract]
    public class T7_InterviewTemplate : EntityBase
    {
        #region ============================================== Accessor
        [DataMember]
        [DBField(DBFieldType.PrimaryKey, DBKeyType.Automatic)]
        public int TemplateId { get; set; }

        [DataMember]
        [DBField]
        public string TemplateName { get; set; }

        [DataMember]
        [DBField]
        public decimal PercentOfInterview { get; set; }

        [DataMember]
        [DBField]
        public decimal PercentOfWritten { get; set; }

        [DataMember]
        public List<T7_InterviewTemplateItem> Items { get; set; }
        #endregion
    }
}
